package com.geostar.constructionland.index.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 业务关联关系表
 */
@TableName(value = "jsyd_glgx")
@ApiModel(description = "业务关联关系表")
@Data
public class BusinessRelationshipEntity {
    @ApiModelProperty("主键ID")
    @TableId("id")
    private String id;
    @ApiModelProperty("主表ID")
    @TableField("zbid")
    private String mainTableId;
    @ApiModelProperty("从表ID")
    @TableField("cbid")
    private String sideTableId;
    @ApiModelProperty("业务标识")
    @TableField("ywbs")
    private String businessType;
    @ApiModelProperty("关联类型(如：“一对一”)")
    @TableField("gllx")
    private String associationType;
    @ApiModelProperty("备注")
    @TableField("bz")
    private String remark;
    @ApiModelProperty("序号")
    @TableField("xh")
    private Integer orderNum;
}
